/* @(#)GSAddUnBalanceDetailQryResultVO.java
 * 
 *  Project:GS
 *  
 *  Modify  Information:
 *  ===============================================
 *   Author          Date            Description
 *  -------------- ---------------  ---------------
 *  Jenny  Li      2006-6-7          新增
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 *
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

public class GSAddUnBalanceDetailQryResultVO implements GSBaseBean {

	public String orderDetailId;
	
	public String deliverGoodId;
	
	public String deptName;
	
	public String concentricity;
	
	public String manufName;
	
	public String isTradeFlatManuf;
	
	public String isTradeFlatProvider;
	
	public String spec;
	
	public String type;
	
	public String brand;
	
	public String manufacter;
	
	public double orderCount;
	
	public String quantUnit;
	
	public double goodsUnitPrice;
	
	public double signCount;
	
	public String deliverGoodsDate;
	
	public String deliverGoodsTime;
    
    public String orderId;
	
	public String providerName;
	
	public String providerId;
    
	public String orderCreateDate;
    
    public String mode;
	public Object process(ResultSet aResultSet) throws SQLException {
		GSAddUnBalanceDetailQryResultVO tVO = new GSAddUnBalanceDetailQryResultVO();
		tVO.orderDetailId = aResultSet.getString("P1");
		tVO.concentricity = aResultSet.getString("P2");
		tVO.manufName = aResultSet.getString("P3");
		tVO.isTradeFlatManuf = aResultSet.getString("P4");
		tVO.spec = aResultSet.getString("P5") == null? "":aResultSet.getString("P5");
		tVO.type = aResultSet.getString("P6") == null? "":aResultSet.getString("P6");
		tVO.brand = aResultSet.getString("P7") == null? "":aResultSet.getString("P7");
		tVO.orderCount = aResultSet.getDouble("P8");
		tVO.quantUnit = aResultSet.getString("P9");
		tVO.providerName = aResultSet.getString("P10");
		tVO.deptName = aResultSet.getString("P11");
		tVO.goodsUnitPrice = aResultSet.getDouble("P12");
//		tVO.orgUnitPrice = aResultSet.getDouble("P13");
		tVO.orderId = aResultSet.getString("P14");
		tVO.providerId = aResultSet.getString("P15");
		tVO.isTradeFlatProvider = aResultSet.getString("P16");
		tVO.orderCreateDate = aResultSet.getString("P17");
		tVO.deliverGoodsDate = aResultSet.getString("P18") == null? "":aResultSet.getString("P18").trim();
        tVO.deliverGoodsTime = aResultSet.getString("P19") == null? "":aResultSet.getString("P19").trim();
        tVO.signCount = aResultSet.getDouble("P20");
        tVO.mode=aResultSet.getString("gs_balance_mode");
		return tVO;
	}

}
